package com.sdhs.think.modules.sys.entity;

import com.sdhs.think.common.persistence.DataEntity;

public class Area extends DataEntity<Area>{

	private static final long serialVersionUID = 1L;
	
	private Area parent;	// 父级编号
	private String parentIds; // 所有父级编号
	private String code; 	// 区域编码
	private String name; 	// 区域名称
	private Integer sort;		// 排序
	private String type;
	
	public Area(){
		super();
	}
	
	public Area(String id) {
		super(id);
	}

	public Area getParent() {
		return parent;
	}

	public void setParent(Area parent) {
		this.parent = parent;
	}

	public String getParentIds() {
		return parentIds;
	}

	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return "Area [parent=" + parent + ", parentIds=" + parentIds + ", code=" + code + ", name=" + name + ", sort="
				+ sort + ", type=" + type + "]";
	}
	
	
}
